package org.jeecg.modules.asset.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.ChangeLog;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 合同信息
 * @Author: jeecg-boot
 * @Date:   2025-11-15
 * @Version: V1.0
 */
@Data
@TableName("asset_contract_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="asset_contract_info对象", description="合同信息")
public class AssetContractInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**合同主键（UUID）*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "合同主键（UUID）")
    private java.lang.String id;
	/**创建人（用户ID/用户名）*/
    @ApiModelProperty(value = "创建人（用户ID/用户名）")
    private java.lang.String createBy;
	/**创建日期（合同录入时间）*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期（合同录入时间）")
    private java.util.Date createTime;
	/**更新人（用户ID/用户名）*/
    @ApiModelProperty(value = "更新人（用户ID/用户名）")
    private java.lang.String updateBy;
	/**更新日期（合同修改时间）*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期（合同修改时间）")
    private java.util.Date updateTime;
	/**删除标记（0-未删，1-已删）*/
//	@Excel(name = "删除标记（0-未删，1-已删）", width = 15)
    @ApiModelProperty(value = "删除标记（0-未删，1-已删）")
    @TableLogic
    private java.lang.String delFlag;
	/**合同编号*/
	@Excel(name = "合同编号", width = 15)
    @ApiModelProperty(value = "合同编号")
    @ChangeLog("合同编号")
    private java.lang.String contractCode;
	/**合同名称*/
	@Excel(name = "合同名称", width = 15)
    @ApiModelProperty(value = "合同名称")
    @ChangeLog("合同名称")
    private java.lang.String contractName;
	/**合同类型*/
	@Excel(name = "合同类型", width = 15, dicCode = "contract_type")
	@Dict(dicCode = "contract_type")
    @ApiModelProperty(value = "合同类型")
    @ChangeLog("合同类型")
    private java.lang.String contractType;
	/**签约主体*/
	@Excel(name = "签约主体", width = 15)
    @ApiModelProperty(value = "签约主体")
    @ChangeLog("签约主体")
    private java.lang.String signingSubject;
	/**合同金额（元）*/
	@Excel(name = "合同金额（元）", width = 15)
    @ApiModelProperty(value = "合同金额（元）")
    @ChangeLog("合同金额（元）")
    private java.math.BigDecimal contractAmount;
	/**合同开始日期*/
	@Excel(name = "合同开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "合同开始日期")
    @ChangeLog("合同开始日期")
    private java.util.Date contractStartDate;
	/**合同结束日期*/
	@Excel(name = "合同结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "合同结束日期")
    @ChangeLog("合同结束日期")
    private java.util.Date contractEndDate;
	/**合同状态*/
	@Excel(name = "合同状态", width = 15, dicCode = "contract_status")
	@Dict(dicCode = "contract_status")
    @ApiModelProperty(value = "合同状态")
    @ChangeLog("合同状态")
    private java.lang.String contractStatus;
	/**付款日期*/
	@Excel(name = "付款日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "付款日期")
    @ChangeLog("付款日期")
    private java.util.Date paymentDate;
	/**附件*/
//	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    @ChangeLog("附件")
    private java.lang.String attachment;
	/**关联资产*/
//	@Excel(name = "关联资产", width = 15, dictTable = "asset_message", dicText = "asset_name", dicCode = "id")
	@Dict(dictTable = "asset_message", dicText = "asset_name", dicCode = "id")
    @ApiModelProperty(value = "关联资产")
    @ChangeLog("关联资产")
    private java.lang.String assetId;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    @ChangeLog("备注")
    private java.lang.String remark;
}
